﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Work.BL.Managers;
using Work.BL.POCOs;

namespace Work.UI.Web.MVC.Controllers
{
    public class ProfileController : Controller
    {
        #region Fields

        private IProfileEmployeeManager _employeeManager;

        #endregion

        #region Constructors

        public ProfileController(IProfileEmployeeManager employeeManager)
        {
            _employeeManager = employeeManager;
        }

        #endregion

        [HttpGet]
        public ActionResult Employee(int id)
        {
            ProfileEmployeePOCO m = _employeeManager.GetEmployeeById(id);
            return View(m);
        }

        [HttpGet]
        public ActionResult EmployeeEdit(int id)
        {
            return View();
        }

    }
}
